package com.project.dao;

import com.project.entity.InternLog;

import java.util.List;

/**
 * @Author: TateBrown
 * @date: 2018/5/26 12:47
 * @param:
 * @return:
 */
public interface InternLogMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(InternLog record);

    int insertSelective(InternLog record);

    InternLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(InternLog record);

    int updateByPrimaryKey(InternLog record);

    //查询所有 By:WheelChen
    List<InternLog> selectAll();

    //条件查询 By:WheelChen
    List<InternLog> selectByCondition(InternLog internLog);

    /**
     * author: WheelChen
     * date: 2017/9/19
     * function: 根据用户表idList批量删除
     *
     * @param userIdList
     * @return
     */
    int deleteBatchByUserIdList(List userIdList);
}
